package com.ruoyi.pos.domain.dto.device.request;

import com.ruoyi.pos.domain.dto.common.request.BasePageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 设备查询请求DTO
 * 
 * @author ruoyi
 * @date 2025-01-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "设备查询请求")
public class DeviceQueryRequest extends BasePageRequest {

    @ApiModelProperty(value = "设备ID")
    private Long deviceId;

    @ApiModelProperty(value = "设备编码")
    private String deviceCode;

    @ApiModelProperty(value = "设备名称")
    private String deviceName;

    @ApiModelProperty(value = "设备类型", allowableValues = "POS,PRINTER,SCANNER")
    private String deviceType;

    @ApiModelProperty(value = "设备状态", allowableValues = "0,1,2")
    private String status;

    @ApiModelProperty(value = "设备IP")
    private String deviceIp;

    @ApiModelProperty(value = "MAC地址")
    private String macAddress;

    @ApiModelProperty(value = "序列号")
    private String serialNumber;

    @ApiModelProperty(value = "安装位置")
    private String location;

    @ApiModelProperty(value = "开始时间")
    private Date startTime;

    @ApiModelProperty(value = "结束时间")
    private Date endTime;
}
